package com.ruoyi.module.privateaccount.domain;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BizBaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人账户对象 biz_private_account
 * 
 * @author zhaoxi
 * @date 2023-09-08
 */
@Data
public class BizPrivateAccount extends BizBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 账户收益金额 */
    @Excel(name = "账户收益金额")
    private BigDecimal accountFunds;

    /** 账户金币数 */
    @Excel(name = "账户金币数")
    private Long accountCoins;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAccountFunds(BigDecimal accountFunds)
    {
        this.accountFunds = accountFunds;
    }

    public BigDecimal getaccountFunds()
    {
        return accountFunds;
    }
    public void setAccountCoins(Long accountCoins) 
    {
        this.accountCoins = accountCoins;
    }

    public Long getAccountCoins() 
    {
        return accountCoins;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setRemark(String remark) 
    {
        this.remark = remark;
    }

    public String getRemark() 
    {
        return remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("accountFunds", getaccountFunds())
            .append("accountCoins", getAccountCoins())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
